﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Site.Master" AutoEventWireup="true" CodeBehind="Login_English.aspx.cs" Inherits="TheHeGeo.Home.Login_English" %>
<%@ Register assembly="DevExpress.Web.v14.2, Version=14.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web" tagprefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
       <style type="text/css">
        .auto-style1 {
            width: 88px;
        }
        .auto-style3 {
        }
           .auto-style6 {
               width: 256px;
           }
           .auto-style7 {
           }
           .auto-style8 {
               width: 265px;
           }
           .auto-style9 {
               width: 103px;
           }
    </style>
    <div>
    
        <table style="width:100%;">
            <tr>
                <td style="horiz-align: left" class="auto-style6">
                    &nbsp;</td>
                <td style="horiz-align: left" class="auto-style1">
                    <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="User name" >
                    </dx:ASPxLabel>
                </td>
                <td class="auto-style3" colspan="3">
                    <dx:ASPxTextBox ID="txtUserName" runat="server" Width="250px" Text="usedemo">
                        <ValidationSettings Display="Dynamic" SetFocusOnError="True" ValidationGroup="login">
                            <RequiredField ErrorText="Please enter user name" IsRequired="True" />
                        </ValidationSettings>
                    </dx:ASPxTextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style6">
                    &nbsp;</td>
                <td class="auto-style1">
                    <dx:ASPxLabel ID="ASPxLabel2" runat="server" Text="Password" >
                    </dx:ASPxLabel>
                </td>
                <td class="auto-style3" colspan="3">
                    <dx:ASPxTextBox ID="txtPwd" runat="server" Width="250px" Password="True">
                        <ValidationSettings SetFocusOnError="True" ValidationGroup="login">
                            <RegularExpression ErrorText="" />
                            <RequiredField ErrorText="Please" IsRequired="True" />
                        </ValidationSettings>
                    </dx:ASPxTextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style6">&nbsp;</td>
                <td class="auto-style1">&nbsp;</td>
                <td class="auto-style9">
                    <asp:Button ID="btOk" runat="server" Text="Login" Width="98px" OnClick="btOk_Click" OnClientClick="return ASPxClientEdit.ValidateGroup('login') ;" />
                </td>
                <td class="auto-style8">
                    <dx:ASPxHyperLink ID="lblForgotPwd" runat="server" Text="Forgot password?" NavigateUrl="~/Home/Login.aspx?f=1" />
                    <asp:Label ID="Label1" runat="server" Text=" | "></asp:Label>
                    <dx:ASPxHyperLink ID="lblRegister" runat="server" Text="Register" NavigateUrl="~/Home/NewAccount.aspx" />
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style6">&nbsp;</td>
                <td class="auto-style1">&nbsp;</td>
                <td class="auto-style7" colspan="2">
                    <dx:ASPxLabel ID="lblNotice" runat="server" Font-Bold="True" ForeColor="Red" Text="User name or password is incorrect!" Visible="False" Wrap="False">
                    </dx:ASPxLabel>
                </td>
                <td>&nbsp;</td>
            </tr>
        </table>
    
    </div>
    <div id="divForgotPwd" style="display: none" runat="server">
        
        <table style="width:100%;">
            <tr>
                <td class="auto-style6">&nbsp;</td>
                <td class="auto-style1">
                    <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="Email" >
                    </dx:ASPxLabel>
                </td>
                <td>
                    <dx:ASPxTextBox ID="txtEmail" runat="server" Width="250px">
                        <ValidationSettings Display="Dynamic" SetFocusOnError="True" ValidationGroup="resetpwd">
                            <RegularExpression ErrorText="Email không &#273;úng &#273;&#7883;nh d&#7841;ng" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" />
                            <RequiredField ErrorText="Yêu c&#7847;u nh&#7853;p" IsRequired="True" />
                        </ValidationSettings>
                    </dx:ASPxTextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style6">&nbsp;</td>
                <td class="auto-style1">&nbsp;</td>
                <td>
                    <asp:Button ID="btResetPwd" runat="server" Text="Nh&#7853;n m&#7853;t kh&#7849;u m&#7899;i" Width="143px"  OnClientClick="return ASPxClientEdit.ValidateGroup('resetpwd');" OnClick="btResetPwd_Click" />
                </td>
            </tr>
            <tr>
                <td class="auto-style6">&nbsp;</td>
                <td class="auto-style1">&nbsp;</td>
                <td>
                    <dx:ASPxLabel ID="lblNoticeNewPwd" runat="server" Font-Bold="True" ForeColor="Red" Text="M&#7853;t kh&#7849;u c&#7911;a b&#7841;n &#273;ã &#273;&#432;&#7907;c thay &#273;&#7893;i, vui lòng ki&#7875;m tra email." Visible="False" Wrap="False">
                    </dx:ASPxLabel>
                </td>
            </tr>
        </table>
        
    </div>
</asp:Content>
